// 存储本地
export const setToken = (token)=>{
    //持久化存储token,存到本地
    localStorage.setItem("TOKEN",token) 
    return token;
}
// 获取
export const getToken = ()=>{
    return localStorage.getItem("TOKEN") 
    
}
// 清空本地token 
export const removeToken = ()=>{
    localStorage.removeItem("TOKEN") 
}